Optimal. Leaf size=50 \[ \frac{\log \left (2 x^2+\sqrt{2} x+1\right )}{2 \sqrt{2}}-\frac{\log \left (2 x^2-\sqrt{2} x+1\right )}{2 \sqrt{2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0480019, antiderivative size = 50, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{\log \left (2 x^2+\sqrt{2} x+1\right )}{2 \sqrt{2}}-\frac{\log \left (2 x^2-\sqrt{2} x+1\right )}{2 \sqrt{2}} \]
Antiderivative was successfully verified.
[In] Int[(1 - 2*x^2)/(1 + 2*x^2 + 4*x^4),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 13.5464, size = 46, normalized size = 0.92 \[ - \frac{\sqrt{2} \log{\left (x^{2} - \frac{\sqrt{2} x}{2} + \frac{1}{2} \right )}}{4} + \frac{\sqrt{2} \log{\left (x^{2} + \frac{\sqrt{2} x}{2} + \frac{1}{2} \right )}}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((-2*x**2+1)/(4*x**4+2*x**2+1),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0199631, size = 42, normalized size = 0.84 \[ \frac{\log \left (2 x^2+\sqrt{2} x+1\right )-\log \left (-2 x^2+\sqrt{2} x-1\right )}{2 \sqrt{2}} \]
Antiderivative was successfully verified.
[In] Integrate[(1 - 2*x^2)/(1 + 2*x^2 + 4*x^4),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.014, size = 39, normalized size = 0.8 \[ -{\frac{\ln \left ( 1+2\,{x}^{2}-\sqrt{2}x \right ) \sqrt{2}}{4}}+{\frac{\ln \left ( 1+2\,{x}^{2}+\sqrt{2}x \right ) \sqrt{2}}{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((-2*x^2+1)/(4*x^4+2*x^2+1),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ -\int \frac{2 \, x^{2} - 1}{4 \, x^{4} + 2 \, x^{2} + 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(2*x^2 - 1)/(4*x^4 + 2*x^2 + 1),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.280369, size = 62, normalized size = 1.24 \[ \frac{1}{4} \, \sqrt{2} \log \left (\frac{8 \, x^{3} + \sqrt{2}{\left (4 \, x^{4} + 6 \, x^{2} + 1\right )} + 4 \, x}{4 \, x^{4} + 2 \, x^{2} + 1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(2*x^2 - 1)/(4*x^4 + 2*x^2 + 1),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.199765, size = 46, normalized size = 0.92 \[ - \frac{\sqrt{2} \log{\left (x^{2} - \frac{\sqrt{2} x}{2} + \frac{1}{2} \right )}}{4} + \frac{\sqrt{2} \log{\left (x^{2} + \frac{\sqrt{2} x}{2} + \frac{1}{2} \right )}}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-2*x**2+1)/(4*x**4+2*x**2+1),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int -\frac{2 \, x^{2} - 1}{4 \, x^{4} + 2 \, x^{2} + 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(2*x^2 - 1)/(4*x^4 + 2*x^2 + 1),x, algorithm="giac")
[Out]